package com.xhui.reggie.dto;

import com.xhui.reggie.entity.Dish;
import com.xhui.reggie.entity.DishFlavor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 继承自Dish，此数据传输对象还需要接受食物的各种口味
 */
@Data
public class DishDTO extends Dish {

    private List<DishFlavor> flavors = new ArrayList<>(); // 菜品口味数据

    // private String categoryName;

    private Integer copies;

}
